package com.glw.sso.platform.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;

public enum UserStateEnum {
    EFFECTIVE(1, "有效"),
    INVALID(2, "无效");

    @EnumValue
    private final int code;
    @JsonValue
    private final String descp;

    UserStateEnum(int code, String descp) {
        this.code = code;
        this.descp = descp;
    }
}